//
//  DUPageSwitchProtocol.swift
//  SimpleCal
//
//  Created by 杜晓祥 on 2021/10/28.
//

import Foundation

protocol DUPageSwitchProtocol {
    
    /**
     显示当月信息
     */
    func showNowDate()
    
    //func showDate(year:Int, month:Int)
    
    func preMonth(date: DateEntity) -> DateEntity
    
    func nextMonth(date: DateEntity) -> DateEntity
    
    func showYearMonth(year:Int, month:Int) -> String
    
    func switchButtonHandler(page:PageTypeModel)
    
    func isSwitch() -> Bool
    
    func prevPage() -> String
    
    func nextPage() -> String
}
